package yt.demo.appcorequartz.service;

import yt.demo.appcommonbean.http.DeleteRequest;
import yt.demo.appcommonbean.http.DetailRequest;
import yt.demo.appcommondb.dto.SplitPageDTO;
import yt.demo.appcommondb.vo.PageVO;
import yt.demo.appcorequartz.entity.QuartzJob;

public interface ICronService {

    PageVO<QuartzJob> getPageList(SplitPageDTO dto, QuartzJob params);

    void create(QuartzJob quartzJob);

    void update(QuartzJob quartzJob);

    void delete(DeleteRequest req);

    void updateStatus(QuartzJob quartzJob);

    void run(DetailRequest req);

}
